// api/system/user.js
import request from '@/utils/request'

// 查找图书
export function getAllBooks(name) {
	return request({
		url: '/wx/book/listAll',
		method: 'GET',
	})
}

// 查找图书
export function getBookList(name) {
	return request({
		url: '/wx/book/list?name=' + name,
		method: 'GET',
	})
}